package com.aij.starter.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.ElementType;

import org.springframework.context.annotation.Import;

import com.aij.starter.config.AijConfiguration;

//被动生效:在META-INF下新建一个spring.factories
//主动生效:在自动配置类中加该注解
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Import({AijConfiguration.class})
public @interface EnableAij {
}
